<template>
  <div>欢迎您，这是首页，你的用户信息为:<br>
    {{userInfo}}
  </div>
</template>
<script>

  import {getUserInfo} from "../../../api/user";
  export default {
    name: 'home',
    components: {},
    data() {
      return {
        userInfo: {}
      }
    },
    methods: {},
    mounted() {
      getUserInfo().then(response => {
        this.userInfo = response.data
      })
    }
  }
</script>

<style lang="less">
  .count-style {
    font-size: 50px;
  }
</style>
